<%@ tag language="java" pageEncoding="utf-8" %>
<%@ attribute name="doc" type="com.eischet.lookup.web.SearchResult" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="lookup" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<div class="head">
    Service Request Work Log <%=doc.get("id")%> on Service Request <%=doc.getLink("sr_requestnumber")%>
    <lookup:dump searchResult="${doc}" link="true" />
</div>
<div class="middle">
    <lookup:display doc="${doc}" field="short_description" caption="" optional="false" newline="true" highlight="true"/>
    <lookup:display doc="${doc}" field="summary" caption="Summary" optional="false" newline="true" highlight="true" />
    <lookup:display doc="${doc}" field="notes" caption="Notes" optional="true" newline="true" highlight="true" />
    <lookup:display doc="${doc}" field="resolution" caption="Resolution" optional="true" newline="true" highlight="true" />
    <lookup:dump searchResult="${doc}" link="false" />
</div>
<div class="foot">
    <lookup:timestamp doc="${doc}" title="Last modified" bytitle="by" tsfield="last_modified_date" byfield="last_modified_by" />
    <lookup:timestamp doc="${doc}" title="Submitted" tsfield="submit_date" byfield="submitter" bytitle="by" />
</div>
